CFVSW\Inc\Swatches D

Total Complexity 179
Dependencies 4
Dependents 1
Total lines 893
Lines of code 620
Logical lines of code 414
Comment lines 192
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
variation_attribute_custom_html()
D
27
41 123
filters_html()
D
30 33 107
variation_attribute_html_shop_page()
A
39 14 66
get_product_swatches()
A
47 12 36
cfvsw_ajax_add_to_cart()
A
46 9 34
inline_css()
A
50 9 25
catalog_show_attr_shop_page()
S
58 8 14
get_attr_term_color_image()
S
52 7 22
get_attr_term_label()
S
61 7 11
get_remove_attr_class()
S
56 5 19
shortcode_functionality()
S
58 5 15
get_attr_option_by_sorting()
S
51 4 26
__construct()
S
51 4 24
label_position_class()
S
61 4 12
get_swatches_position()
S
52 3 26
enqueue_scripts()
S
52 2 24
check_theme_compatibility()
S
68 3 7
requires_shop_settings()
S
71 3 6
shop_page_add_to_cart_args()
S
65 2 8
is_required_page()
S
71 2 6
requires_global_settings()
S
73 1 6
cfvsw_ajax_variation_threshold()
S
82 1 3